package com.example.demo.Param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * 系统用户登录param
 */
@Data
public class AdminLoginParam implements Serializable {

    @ApiModelProperty("用户名")
    @NotEmpty(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty("用户密码")
    @NotEmpty(message = "密码不能为空")
    private String userPwd;
}
